# @Time    : 2020/2/16 19:49
# @Author  : wumao
# @Email   : kanhebei@dingtalk.com

import os
from dotenv import load_dotenv
from app import create_app

env_path = os.path.join(os.path.dirname(__file__), '.env')
if os.path.exists(env_path):
    load_dotenv(env_path)

application = create_app()
